package com.mall.goods.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.goods.model.Brand;

import java.util.List;

/**
 * @description:
 * @author: ljr
 * @time: 2021/9/4 0:31
 */
public interface BrandService extends IService<Brand> {

    List<Brand> queryList(Brand brand);

    Page<Brand> queryPage(Brand brand, Long pageSize, Long pageNum);

    /***
     * 根据分类ID查询品牌集合
     */
    List<Brand> queryByCategoryId(Integer id);
}
